<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="./js/dojo/dojo.js"></script>

<script type="text/javascript">
	dojo.xhrPost( {
			url:'http://127.0.0.1:83/hellodojo.html',
			timeout:5000,
			handle:function(dateOrError, ioArgs ) {

				if( dojo.isString( dateOrError )) {
					console.log('ok');
					console.log( dateOrError );
					console.log(ioArgs);

				} else {
					console.log('error');
					console.log( dateOrError );
					console.log(ioArgs);
				}
		}
		});


</script>
</head>
<body>


<div id="xhrResutl"></div>
</body>
</html>